package com.ohos.connent.accountcloud.biz.modular.dp.param;

import com.ohos.connent.accountcloud.biz.modular.dp.entity.Card;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 机构-编辑参数
 * @Author: ChenJiaHao
 * @Date: 2024/6/12 9:59
 * @Description:
 */
@Getter
@Setter
public class DpEnterpriseEditParam {

    /** id */
    @ApiModelProperty(value = "id", required = true)
    @NotBlank(message = "id不能为空")
    private String id;

    @ApiModelProperty(value = "企业全称", position = 2)
    private String enterpriseName;

    @ApiModelProperty(value = "英文全称", position = 2)
    private String enterpriseNameEn;

    @ApiModelProperty(value = "企业地址", required = true, position = 3)
    @NotBlank(message = "企业地址不能为空")
    private String address;

    @ApiModelProperty(value = "证件号码", required = true, position = 4)
    @NotBlank(message = "证件号码不能为空")
    private String businessLicenseNo;

    @ApiModelProperty(value = "企业证件列表（JSON格式）", required = true, position = 5)
    @NotNull(message = "企业证件不能为空")
    private List<Card> businessLicenseCard;

    @ApiModelProperty(value = "法人证件列表（JSON格式）", required = true, position = 6)
    @NotNull(message = "法人证件不能为空")
    private List<Card> legalPersonCard;

    @ApiModelProperty(value = "联系人姓名", required = true, position = 7)
    @NotBlank(message = "联系人姓名不能为空")
    private String contactName;

    @ApiModelProperty(value = "身份证号码", required = true, position = 8)
    @NotBlank(message = "身份证号码不能为空")
    private String contactIDCardNo;

    @ApiModelProperty(value = "手机号", required = true, position = 9)
    @NotBlank(message = "手机号不能为空")
    private String contactPhone;

    @ApiModelProperty(value = "邮箱", required = true, position = 10)
    @NotBlank(message = "邮箱不能为空")
    private String contactEmail;
}
